<div class="user_app"><!-- 用户组件列表 begin -->
	<div class="user_app_top"></div>
    <div class="user_app_box">
  <div class="userinfo">
    	<div class="userpic" onmouseover="this.className='userpic over'" onmouseout="this.className='userpic'" ><span id="my_face"><space uid="mid">{uavatar=b}</space></span>
		<a class="pic" href="{:U('home/account/index')}#face">上传头像</a>
		</div>
  		<div class="user_name">
        	<h2><a href="{:U('home/Space/index')}">{$mid|getUserName}{$mid|getUserVerifiedIcon}</a></h2>
            
      </div>
        
  </div>
 
  <div class="celerity_menu app_line">
  	<ul>
	<li><a href="{:U('home/Blog/index')}" {:getMenuState('blog/index')}}>我关注的博客</a></li>
    <li><a href="{:U('home/Blog/myblog')}" {:getMenuState('blog/myblog')}>我的文章</a></li>
	<li><a href="{:U('home/User/friends')}" {:getMenuState('User/friends')}>管理关注</a></li>
	<li><a href="{:U('home/Blog/add')}" {:getMenuState('myshop/index')}>写文章
	</a></li>
    <li>{$mid|getUserSpace=###, 'fb14', '', '我的博客首页', false}</li>
  	</ul>
  </div>
 
    </div>
	<div class="user_app_btm"></div>
	<volist name="ts['ad']['left']" id="vo">
    <div class="ad_left"><div class="ke-post">{$vo.content}</div></div>
	</volist>
	</div><!-- 用户组件列表 end -->
<php>
function getMenuState($type){
	$type = split('/',$type);
	if( strtolower(MODULE_NAME)==strtolower($type[0]) && ( strtolower(ACTION_NAME)==strtolower($type[1]) || $type[1]=='*') ){
		return 'class="on"';
	}
}
</php>